altered derivation, maybe some problems...