added tern installation