clear is now a pointer