done writing now to compile and fix