added encrypted code