preparing for version 4