modified short logic