added getter method to retrieve markup