add posibility to customize caret template