Added viewfit at the end for convenience