working scala client with animations