Added functions to mark and redshift lines