Removed unused SQL call