perform and function