add the method how to create data