make blocks color changable
refactor