Adding function: height(t)