a simple prototype; add makefile