removed debug statements unneeded now