part of the code