removed dead code as per review