started implementation of getting random post