added checking out. no duplication. ajax