Added more functioanlity to the interface