cleaning APIs