compiled with key functions