add some methods to playground.class