fixed a coding mistake where I forgot to specify a return type