completed #1

TODO: solve problems with positions