Using start and end components for err check