contains function done
size function done