removed cout statements previously used for debugging