Adding spritemap feature