adding logic status