starting to roll this up into an application