change class to partial