fixed typ now somewhat function speculairs