return type fix: int and fixedpt are interchangeable