need to work this into a gem...