assigning variable value implemented