used optional for https arguments