Added resolve with name as string