changed coding format for fourmula