add basic func to level mod