parsing request in init()