Program now works a little bit