using some libs for getting and setting