error catch and posting
stuff