a stab at scala