modifying button controller