add reject and cleanup