begin fixing compile errors