version 0.3 - works for whole domain