Explain int return for markActive and markDeleted