Sprite function created & Labels added to ui