updated some non-working code