experiments with scala