added the beginning of the visual part