Edit some function and css