Added pause and step forward functions