make it similar to reference