converting to Sequel, early dev