cleaning

public to private attributes