Code review, add resizable, flattern