removed debugging "prints"