work out the kinks