implemented correct helper method