add resource
add jesseneal's solution