works fine. Added error checking