added 'GET_ALL' functionality