wall refactored. works fine getting all posts or given count