Function Personal

having trouble with function