new staticresurce logic