removed extra 'type' option