added pseduocode in POST