start and end passes added