first own program - ugly but there it is