intial validation and context support