added post input method