minor conditional check