added depth control program
tweaked parameters for better control