cleaned up core answers functions - namespaced them and improved some formatting