removing dead (unused) code