Added task in scala 6