Styled survey and added some small functions