set some default attributes