Implement new post function