implemented DataErrors
updated for style consistency
first part of kalium evaluation