removed if/else for offset
used ternary in delete method
removed extra private
DRY #workpattern a little bit
updated with changes
used ternery in clone_and_adjust_current_wp