moved user functions inside of Settings