Added explicit returns for each function, feels better