Changed error statement to reflect parameter order change