added click restrictions and dynamic date