Filled functions with relevant code