use len in favour of size