adds code to assign size dimension
adds filters