Updated error values, maed return types signed