add code for show diamond