view command mostly done