Trying to find better formula