Working out compile errors #1