Adding in err