Added error checker to website. Logic may be broken!