proper use of partial