Added error displaying