removed error in return value