added define wrapper