refactors on microposts