fixed resize (sorta) and added get method