minor changes
integrate errors as package