Fiddled to get Motor working