Removed log calls used for debugging