code clean up. just house keeping with better explanations.