adding dependency and cleaning up compilation