replaced theta with t... we should fix this...