scala skeleton