added click and edit capabilities.