added code for thoughts section