Removed unnecessay cout's for performance