added button, improved 'put' syntax