define propertyes
added click handler