fixed function returns
some test programs
implicit integer type for funs