removed theta from initialization