first tested working version of the appliction