finalised analytics section