i'm facing a problem with coding the migration.sol how i can fix these error space!


enter image description here

pragma solidity ^0.4.24;

contract Migrations {
    address public owner;
    uint public last_completed_migration;

    modifier restricted() {
        if (msg.sender == owner) _;

    constructor() public {
    owner = msg.sender;

function setCompleted(uint completed) public restricted {
last_completed_migration = completed;}

function upgrade(address new_address) public restricted {
    Migrations upgraded = Migrations(new_address);

closed as unclear what you're asking by smarx, Vignesh Karthikeyan, Richard Horrocks, Nicolas Massart, mafrasi2 Jul 12 '18 at 9:09

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.