removed crazy code