scala notes related