first version with one dimension objects