returning complements fixed