a scala library and scala feature attempt