adding scala formatting properties