Double function added

- Double function up and running