generifying this app for future forking.