Some more secure programming