fixed shorthanded functions and void returns