save
refactor to Scala