added recursive case for SDecls []. works for good05