personal functions set up