Commented out old profile and history functions to allow for sliding