added chalk
refactor