functions cleared