enhanced 'get' and added 'delete' functionality