a simple scala class