add some style and error messaging