fixed outdated view. might want to refactor sometime.