Adding first part of the p0187 - intermediate level