Added more functions to the case laboration