Development

add time out and format the cleaning code.