compatibility for leverage