What's difference between my solution and codegym's. Mine gives error?