changed to typedef
edit after typedef