Re-implementation of [MkLine] project