Fixed the implementation all but total is working