functionality tweaks
Merge pull request #56 from rautsagar/dlong-main

functionality tweaks