would probably need to handle parameters as well?