bitday stuff and error handling
removed extra makefile