parameter is called type now