first attempt at manual compile