/* the following line is came from pinterest .com*/