basic runtime functions are defined