added name and size functions