added size and clear for List