modify statics function