made operations attributes more generic