Added sit and removed some unreachable code