Refactored get method for one as well as many