Initial version of the functioning plugin