this version is okay, need to automate rake tasks