added password parameter to core