For learning scala