implementing current time
removing text shadowing comments, applying minor performance fixes