pass as raw array