resolve vs template