refator assignments helper methods