oops type at top, now working