working on first version which runs