updated code history for scala