version 3 getting closer
final version for submission