write compile execute