added a 'type' field to the response
UI tweaks