forgot to add parameter to forcecondition function for element