***Slowly converting to Ruby