modified common methods file