fixed recursive functions.