add skelton spec
auto formatting with IDEA
extract to testable method (WIP)