compile for test