wrong but working on it
finally fixed the time problem adding checks for cons.T