Create method to create states