Added checking out

Pretty much finished checking out