added visible attribute