initial commit
works as requested by https://www.odesk.com/jobs/~~d5624935369d26d1