made function a