#8 searching by attributes was implemented
added time calc
code cleaned