his leader , marek , and the rest of their revolutionary team had been monitoring the cycling schedule carefully for a week in order to gain access to the building before the water was redirected through the pipe hurbef had taken into the palace .