Changed the functionality of the visible objects. Posibility to add a time interval added.