src: misc stuff