Added the define fill and define stroke functions