added code and readme