fixed inheritance & now working again