add clearpath method