added bad code-2