added bad coding practices