adding state in deployment model