second attempt at omrails