preliminary steps