Moved get method names to seperate function