add 3-30 and creat function