basic prof functions explained