added button controller