changed the order of setting paramaters... made Javads life easier