adding Parse code