added routine expanded when clicked