adds first draft of tp plugin