functions no longer create local Condition Objects
moved condition object, so it's not created everytime