add code for initial plugin functionality.