added SDALF code