removed dead (poor) code