delete trial.rb; was only used to try out some ideas