added button listener and dummy agent