separate out get method