adjusting Main file