add error manipulating