Removed unneccessary return value from helper method