now works and with Makefile