added highlights and global parameters