implement settings
change Makefile for testing