dev
added curStyle