finaly get thoses stupid tangeantes working