moved code to bin/