Added very basic error system