added preview helper
Release 0.4.0