styled a little bit
add snippets for active controller