expansion functions