error boxes made just need to add little more logic