added fillPrism method