working apart from wierd error