setFormatter improved and simplified