cleaned out code.