adding some custom functions, beginning settings page