Added preview functions