created helper methods for assigning tokens.