modified source file for buttons