clean up
parameterize cloud depth