note resizing implemented