functions for habbo/retro development