added in sell buttons and debug