add resize method
rename set to setup