Added and tested setFillTypes function