add leftover code

will be removed/merged in the future