example code to user scalding