Making remove and create functions