added completing and archiving