correcting two programs
Tweaking things