initial scala version