first working compile