fixed ommited return