first version of the full programs