Fixed error. Removed debugging statements.