fixed function return type