Began writing functionality for posting