FIXED: changed to return the polynomial as basis