def works now