"Proof of concept" for better function handling