personal functions for assignment