implementing error interface
Playing with error