Move these 3 insed of if not bActionTaken