updated with scala post