Wroking on initialization after first door crossed.