handling emperical errors..