Revised function name
Added dependencies