updated to use POST