use xternal resource?