fixed function return