implementing jade part