assign variables when necessary