Program pretty much works