basil lifecycle