Experiments with scala objects