made memory without optemization for assignment