made adding modules dynamic