baby steps in scala