some stuff I did last night that needs more testing
starting compilation