paramters and buttons modified