basics + encryption works