Added apply-effect-fn to the skeleton