updated for version v0.4.0