updated some code, and finished an undone post