Changed some beginner mistakes