implement more attribute cases; module.exports