dump of first work, need to write main