shorter post function that works