added ptang library