working on bdf