some functions compile correctly