changed to regular ruby only