added changes for version 0.4