implemented first version of module