Main module - version 1