small change, make all function calls work