muiltiple inheritance done, bugfixies