Can you pleas clean up this code block?