use ResourceT
remove unnecessary entensions