just added changes that should fix the code